import { createApp } from "vue";
import App from "./App.vue";

import "@/styles/normalize.css";

import { createPinia } from "pinia";
import router from "./libs/router/index";
import "element-plus/dist/index.css";

import "./styles/index.scss";
import "uno.css";

import "element-plus/theme-chalk/src/message.scss";

// 如果您正在使用CDN引入，请删除下面一行。
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const app = createApp(App);

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

const store = createPinia();
app.use(store);
app.use(router);
app.mount("#app");
